Optimal. Leaf size=197 \[ -\frac {75 \text {ArcTan}\left (\frac {\sqrt {a} \sin (c+d x)}{\sqrt {2} \sqrt {\cos (c+d x)} \sqrt {a+a \cos (c+d x)}}\right ) \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}}{16 \sqrt {2} a^{5/2} d}-\frac {\sqrt {\sec (c+d x)} \sin (c+d x)}{4 d (a+a \cos (c+d x))^{5/2}}-\frac {13 \sqrt {\sec (c+d x)} \sin (c+d x)}{16 a d (a+a \cos (c+d x))^{3/2}}+\frac {49 \sqrt {\sec (c+d x)} \sin (c+d x)}{16 a^2 d \sqrt {a+a \cos (c+d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.31, antiderivative size = 197, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 7, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.280, Rules used = {4307, 2845,
3057, 3063, 12, 2861, 211} \begin {gather*} -\frac {75 \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} \text {ArcTan}\left (\frac {\sqrt {a} \sin (c+d x)}{\sqrt {2} \sqrt {\cos (c+d x)} \sqrt {a \cos (c+d x)+a}}\right )}{16 \sqrt {2} a^{5/2} d}+\frac {49 \sin (c+d x) \sqrt {\sec (c+d x)}}{16 a^2 d \sqrt {a \cos (c+d x)+a}}-\frac {13 \sin (c+d x) \sqrt {\sec (c+d x)}}{16 a d (a \cos (c+d x)+a)^{3/2}}-\frac {\sin (c+d x) \sqrt {\sec (c+d x)}}{4 d (a \cos (c+d x)+a)^{5/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 211
Rule 2845
Rule 2861
Rule 3057
Rule 3063
Rule 4307
Rubi steps
\begin {align*} \int \frac {\sec ^{\frac {3}{2}}(c+d x)}{(a+a \cos (c+d x))^{5/2}} \, dx &=\left (\sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {1}{\cos ^{\frac {3}{2}}(c+d x) (a+a \cos (c+d x))^{5/2}} \, dx\\ &=-\frac {\sqrt {\sec (c+d x)} \sin (c+d x)}{4 d (a+a \cos (c+d x))^{5/2}}+\frac {\left (\sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {\frac {9 a}{2}-2 a \cos (c+d x)}{\cos ^{\frac {3}{2}}(c+d x) (a+a \cos (c+d x))^{3/2}} \, dx}{4 a^2}\\ &=-\frac {\sqrt {\sec (c+d x)} \sin (c+d x)}{4 d (a+a \cos (c+d x))^{5/2}}-\frac {13 \sqrt {\sec (c+d x)} \sin (c+d x)}{16 a d (a+a \cos (c+d x))^{3/2}}+\frac {\left (\sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {\frac {49 a^2}{4}-\frac {13}{2} a^2 \cos (c+d x)}{\cos ^{\frac {3}{2}}(c+d x) \sqrt {a+a \cos (c+d x)}} \, dx}{8 a^4}\\ &=-\frac {\sqrt {\sec (c+d x)} \sin (c+d x)}{4 d (a+a \cos (c+d x))^{5/2}}-\frac {13 \sqrt {\sec (c+d x)} \sin (c+d x)}{16 a d (a+a \cos (c+d x))^{3/2}}+\frac {49 \sqrt {\sec (c+d x)} \sin (c+d x)}{16 a^2 d \sqrt {a+a \cos (c+d x)}}+\frac {\left (\sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int -\frac {75 a^3}{8 \sqrt {\cos (c+d x)} \sqrt {a+a \cos (c+d x)}} \, dx}{4 a^5}\\ &=-\frac {\sqrt {\sec (c+d x)} \sin (c+d x)}{4 d (a+a \cos (c+d x))^{5/2}}-\frac {13 \sqrt {\sec (c+d x)} \sin (c+d x)}{16 a d (a+a \cos (c+d x))^{3/2}}+\frac {49 \sqrt {\sec (c+d x)} \sin (c+d x)}{16 a^2 d \sqrt {a+a \cos (c+d x)}}-\frac {\left (75 \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {1}{\sqrt {\cos (c+d x)} \sqrt {a+a \cos (c+d x)}} \, dx}{32 a^2}\\ &=-\frac {\sqrt {\sec (c+d x)} \sin (c+d x)}{4 d (a+a \cos (c+d x))^{5/2}}-\frac {13 \sqrt {\sec (c+d x)} \sin (c+d x)}{16 a d (a+a \cos (c+d x))^{3/2}}+\frac {49 \sqrt {\sec (c+d x)} \sin (c+d x)}{16 a^2 d \sqrt {a+a \cos (c+d x)}}+\frac {\left (75 \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \text {Subst}\left (\int \frac {1}{2 a^2+a x^2} \, dx,x,-\frac {a \sin (c+d x)}{\sqrt {\cos (c+d x)} \sqrt {a+a \cos (c+d x)}}\right )}{16 a d}\\ &=-\frac {75 \tan ^{-1}\left (\frac {\sqrt {a} \sin (c+d x)}{\sqrt {2} \sqrt {\cos (c+d x)} \sqrt {a+a \cos (c+d x)}}\right ) \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}}{16 \sqrt {2} a^{5/2} d}-\frac {\sqrt {\sec (c+d x)} \sin (c+d x)}{4 d (a+a \cos (c+d x))^{5/2}}-\frac {13 \sqrt {\sec (c+d x)} \sin (c+d x)}{16 a d (a+a \cos (c+d x))^{3/2}}+\frac {49 \sqrt {\sec (c+d x)} \sin (c+d x)}{16 a^2 d \sqrt {a+a \cos (c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 3 in
optimal.
time = 6.81, size = 508, normalized size = 2.58 \begin {gather*} \frac {2 \cos ^5\left (\frac {c}{2}+\frac {d x}{2}\right ) \sec ^4\left (\frac {1}{2} (c+d x)\right ) \sin \left (\frac {c}{2}+\frac {d x}{2}\right ) \left (\frac {1}{1-2 \sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right )}\right )^{3/2} \left (\frac {8 \cos ^6\left (\frac {1}{2} (c+d x)\right ) \, _4F_3\left (2,2,2,\frac {5}{2};1,1,\frac {11}{2};\frac {\sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right )}{-1+2 \sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right )}\right ) \sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right )}{315 \left (-1+2 \sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right )\right )}+\frac {1}{120} \csc ^8\left (\frac {c}{2}+\frac {d x}{2}\right ) \left (1-2 \sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right )\right )^2 \sqrt {\frac {\sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right )}{-1+2 \sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right )}} \left (-15 \tanh ^{-1}\left (\sqrt {\frac {\sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right )}{-1+2 \sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right )}}\right ) \cos ^4\left (\frac {1}{2} (c+d x)\right ) \left (-343+1465 \sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right )-2021 \sin ^4\left (\frac {c}{2}+\frac {d x}{2}\right )+824 \sin ^6\left (\frac {c}{2}+\frac {d x}{2}\right )\right )+\sqrt {\frac {\sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right )}{-1+2 \sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right )}} \left (-5145+33980 \sin ^2\left (\frac {c}{2}+\frac {d x}{2}\right )-87764 \sin ^4\left (\frac {c}{2}+\frac {d x}{2}\right )+109737 \sin ^6\left (\frac {c}{2}+\frac {d x}{2}\right )-66122 \sin ^8\left (\frac {c}{2}+\frac {d x}{2}\right )+15344 \sin ^{10}\left (\frac {c}{2}+\frac {d x}{2}\right )\right )\right )\right )}{d (a (1+\cos (c+d x)))^{5/2}} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.25, size = 258, normalized size = 1.31
method | result | size |
default | \(-\frac {\left (-1+\cos \left (d x +c \right )\right ) \left (75 \arcsin \left (\frac {-1+\cos \left (d x +c \right )}{\sin \left (d x +c \right )}\right ) \left (\cos ^{2}\left (d x +c \right )\right ) \sin \left (d x +c \right ) \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}+150 \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\, \arcsin \left (\frac {-1+\cos \left (d x +c \right )}{\sin \left (d x +c \right )}\right ) \sin \left (d x +c \right ) \cos \left (d x +c \right )-49 \left (\cos ^{3}\left (d x +c \right )\right ) \sqrt {2}+75 \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\, \arcsin \left (\frac {-1+\cos \left (d x +c \right )}{\sin \left (d x +c \right )}\right ) \sin \left (d x +c \right )-36 \left (\cos ^{2}\left (d x +c \right )\right ) \sqrt {2}+53 \cos \left (d x +c \right ) \sqrt {2}+32 \sqrt {2}\right ) \cos \left (d x +c \right ) \left (\frac {1}{\cos \left (d x +c \right )}\right )^{\frac {3}{2}} \sqrt {a \left (1+\cos \left (d x +c \right )\right )}\, \sqrt {2}}{32 d \sin \left (d x +c \right )^{3} \left (1+\cos \left (d x +c \right )\right ) a^{3}}\) | \(258\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.47, size = 170, normalized size = 0.86 \begin {gather*} \frac {75 \, \sqrt {2} {\left (\cos \left (d x + c\right )^{3} + 3 \, \cos \left (d x + c\right )^{2} + 3 \, \cos \left (d x + c\right ) + 1\right )} \sqrt {a} \arctan \left (\frac {\sqrt {2} \sqrt {a \cos \left (d x + c\right ) + a} \sqrt {\cos \left (d x + c\right )}}{\sqrt {a} \sin \left (d x + c\right )}\right ) + \frac {2 \, \sqrt {a \cos \left (d x + c\right ) + a} {\left (49 \, \cos \left (d x + c\right )^{2} + 85 \, \cos \left (d x + c\right ) + 32\right )} \sin \left (d x + c\right )}{\sqrt {\cos \left (d x + c\right )}}}{32 \, {\left (a^{3} d \cos \left (d x + c\right )^{3} + 3 \, a^{3} d \cos \left (d x + c\right )^{2} + 3 \, a^{3} d \cos \left (d x + c\right ) + a^{3} d\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: SystemError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (\frac {1}{\cos \left (c+d\,x\right )}\right )}^{3/2}}{{\left (a+a\,\cos \left (c+d\,x\right )\right )}^{5/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________